package com.lb.base.util;

import lombok.experimental.UtilityClass;

@UtilityClass
class LockUtils {
    static Object falseValueOfType(Class<?> type) {
        if (type == void.class) {
            return null;
        }
        if (type == boolean.class) {
            return false;
        }
        throw new IllegalArgumentException("unsupported type: " + type);
    }
}